#@layout()
<script>
    $("#fairwithdraw-reason").validate({
        rules:{
                "content":{
                    required:true
                }
        
        },
        messages:{
                "content":{
                	required:"请输入拒绝理由..."
                }
        },
        onkeyup:false,
        focusCleanup:true,
        success:"valid",
        submitHandler:function(form){
        var config = {
        "url":"#(contextPath)/admin/fairwithdraw/unpass",
        data:$("#fairwithdraw-reason").serialize(),
        "method":"POST"
        };
        var backendTool = new BackendTool(config);
        backendTool.ajaxRequest();
        }
    });
</script>
#define main()
    <form class="form form-horizontal" id="fairwithdraw-reason">
   		<div class="row cl">
	        <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>拒绝理由</label>
	        <div class="formControls col-xs-8 col-sm-9">
	        	<textarea name="content" class="textarea" rows="5" maxlength="40" placeholder="请输入简短的拒绝理由，最多40个字符...，处理失败，提现的金额会退回申请人账户余额。">
					#(content)
				</textarea>
	        </div>
	    </div>
	    <div class="row cl">
		    <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
			        <input type="hidden" value="#(fairWithdraw.id??'')" id="id" name="fairWithdraw.id">
			        <input class="btn btn-primary radius" type="submit" value="  提交  ">
			    </div>
			</div>
    </form>
#end